package wsn.linklayer.idealwireless;

import inet.linklayer.radio.IdealRadio;

simple CC1000IdealRadio extends IdealRadio {
    @class(CC1000IdealRadio);
    
    transmissionRange = default(100m);
    
    double carrierFrequency @unit("Hz") = default(300MHz);
    double transmitterPower @unit("mW") = default(20mW);
    double sensitivity @unit("dBm") = default(-110dBm);
    
    double pathLossAlpha = default(2); // used by the path loss calculation
    double TransmissionAntennaGainIndB @unit("dB") = default(0dB);  // Transmission Antenna Gain
    double ReceiveAntennaGainIndB @unit("dB") = default(0dB);       // Receive Antenna Gain
    double SystemLossFactor @unit("dB") = default(0dB);             // System Loss of Hardware
    
    double usage_radio_idle @unit(mA) = default(-1mA);
    double usage_radio_recv @unit(mA) = default(-1mA);
    double usage_radio_sleep @unit(mA) = default(-1mA); 
    double usage_radio_send @unit(mA) = default(-1mA); 
}